package com.example.cognitivesystemserver.mapper;

import com.example.cognitivesystemserver.pojo.Score;
import com.example.cognitivesystemserver.pojo.Student;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface StudentMapper {
    public void addStudent(Student student);
    public void deleteStudent(String id);
    public void updateStudent(Student student);
    public Student getStudent(String StuId);
    public List<Student> getAllStudent();
    public List<Score> getStudentScore(String StuId);
    public List<Score> getAllStuScore();
    public void deleteStuScore(String StuId);
}
